package com.peak.spring.boot.api.web;

import java.io.Serializable;

import com.peak.spring.boot.api.constant.Constants;

import lombok.Data;

/**
 * 所有的VO都要继承，很多地方都是根据是否集成这个类来判断VO的
 * @author Haley Gao
 *
 */
@Data
public class IdVo implements Serializable {

	private static final long serialVersionUID = Constants.SERIAL_VERSION;
	
	protected Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
}
